<template>
  <div class="recommend">
    <div v-for="(item,index) in recommend" :key="index" class="recomment-item">
       <a :href="item.link">
         <img :src="item.image" alt="">
         <div>{{item.title}}</div>
       </a>
    </div>
    
  </div>
</template>
<script>
export default {
  name:'Recommend',
  props:{
    recommend:{
      type:Array,
      default:function(){
        return [];
      }
    }
  }
}
</script>
<style scoped>
 .recommend{
   display: flex;
   width:100%;
   justify-content: space-around;
   font-size: 12px;
   padding:10px 0 20px;
   border-bottom: 8px solid #eee ;
 }
 .recommend .recomment-item{
   text-align: center;
   flex:1;
 }
 img {
   width:68px;
   margin-bottom: 10px;
 }
</style>